package com.example.caoh.common.util;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.fastjson.JSONObject;
/**
 * @author wuxi
 */
public class ElsResult {

	private Long total;
	private Long took;
	private JSONObject sumData = new JSONObject();
	private List<JSONObject> datas = new ArrayList<JSONObject>();

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}
	
	public Long getTook() {
		return took;
	}

	public void setTook(Long took) {
		this.took = took;
	}

	public List<JSONObject> getDatas() {
		return datas;
	}

	public void setDatas(List<JSONObject> datas) {
		this.datas = datas;
	}

	public void addData(JSONObject data) {
		datas.add(data);
	}

	public JSONObject getSumData() {
		return sumData;
	}

	public void setSumData(JSONObject sumData) {
		this.sumData = sumData;
	}

}
